﻿using My.Core.Model.Models;
using My.Core.Model.ViewModel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace My.Core.Model.ViewModel
{

    public class CreateFrameworkMenView
    {

        
        /// <summary>
        /// 角色
        /// </summary>
        [Display(Name = "角色", Description = "")]
        public List<FrameworkRoleView> Roles { get; set; }
        /// <summary>
        /// 动作
        /// </summary>
        public List<CreateFrameworkMenActionView> Actions { get; set; }

    }
    public class CreateFrameworkMenActionView
    {
        /// <summary>
        /// 操作项
        /// </summary>
        public SumityTypeEnum SumityType { get; set; }
        /// <summary>
        /// 菜单链接地址 路由
        /// </summary>
        [Display(Name = "菜单链接地址", Description = "")]

        public string LinkUrl { get; set; }



    }
}
